package com.aaa.json.entity;

/**
 * @program: javaweb-20230304
 * @description:
 * @author: 诸葛龙辰
 * @create: 2023-03-04 14:09
 * @version:
 **/
public class Emp {
    private  Integer  empId;
    private  String EmpName;
    private  String sex;
    private  String  phoneNum;
    private  String  province;
    private  String hireDate;
    private  Integer deptNo;
    private  double salary;
    private  String password;
    private  String  user;
    public Emp() {
    }

    public Emp(Integer empId, String empName, String sex, String phoneNum, String province, String hireDate, Integer deptNo, double salary, String password) {
        this.empId = empId;
        EmpName = empName;
        this.sex = sex;
        this.phoneNum = phoneNum;
        this.province = province;
        this.hireDate = hireDate;
        this.deptNo = deptNo;
        this.salary = salary;
        this.password = password;
    }

    public Emp(String empName, String sex, String phoneNum, String province, String hireDate, Integer deptNo, double salary, String password) {
        EmpName = empName;
        this.sex = sex;
        this.phoneNum = phoneNum;
        this.province = province;
        this.hireDate = hireDate;
        this.deptNo = deptNo;
        this.salary = salary;
        this.password = password;
    }

    public Emp(String empName, String phoneNum, Integer deptNo) {
        EmpName = empName;
        this.phoneNum = phoneNum;
        this.deptNo = deptNo;
    }

    public Emp(String password, String user) {
        this.password = password;
        this.user = user;
    }

    @Override
    public String toString() {
        return "Emp{" +
                "empId=" + empId +
                ", EmpName='" + EmpName + '\'' +
                ", sex='" + sex + '\'' +
                ", phoneNum='" + phoneNum + '\'' +
                ", province='" + province + '\'' +
                ", hireDate='" + hireDate + '\'' +
                ", deptNo=" + deptNo +
                ", salary=" + salary +
                ", password='" + password + '\'' +
                ", user='" + user + '\'' +
                '}';
    }

    public Integer getEmpId() {
        return empId;
    }

    public void setEmpId(Integer empId) {
        this.empId = empId;
    }

    public String getEmpName() {
        return EmpName;
    }

    public void setEmpName(String empName) {
        EmpName = empName;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public String getPhoneNum() {
        return phoneNum;
    }

    public void setPhoneNum(String phoneNum) {
        this.phoneNum = phoneNum;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getHireDate() {
        return hireDate;
    }

    public void setHireDate(String hireDate) {
        this.hireDate = hireDate;
    }

    public Integer getDeptNo() {
        return deptNo;
    }

    public void setDeptNo(Integer deptNo) {
        this.deptNo = deptNo;
    }

    public double getSalary() {
        return salary;
    }

    public void setSalary(double salary) {
        this.salary = salary;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getUser() {
        return user;
    }

    public void setUser(String user) {
        this.user = user;
    }
}
